UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The alias file must have mode 0644 or less permissive.


Overview

Finding ID Version Rule ID IA Controls Severity
V-832 GEN004380 SV-40651r1_rule ECLP-1 Medium
Description
Excessive permissions on the aliases file may permit unauthorized modification. If the alias file is modified by an unauthorized user, they may modify the file to run malicious code or redirect email.
STIG Date
SOLARIS 10 X86 SECURITY TECHNICAL IMPLEMENTATION GUIDE 2018-04-10

Details

Check Text ( C-39390r1_chk )
Find the alias files on the system.

Procedure:
# egrep '^O(A| AliasFile)' /etc/mail/sendmail.cf

If the alias file is an NIS or LDAP map, this check is not applicable. The default location is /etc/mail/aliases.

Check the permissions of the alias file and the hashed version of it used by sendmail.

Procedure:
# ls -lL /etc/mail/aliases /etc/mail/aliases.db

If the alias files have a mode more permissive than 0644, this is a finding.
Fix Text (F-34508r1_fix)
Change the mode of the /etc/mail/aliases files (or equivalent, such as /usr/lib/aliases) to 0644.

Procedure:
# chmod 0644 /etc/mail/aliases /etc/mail/aliases.db